package com.lineng.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.lineng.pojo.Student;
import com.lineng.pojo.StudentExample;

public interface StudentMapper {
	long countByExample(StudentExample example);

	int deleteByExample(StudentExample example);

	int deleteByPrimaryKey(String id);

	int insert(Student record);

	int insertSelective(Student record);

	List<Student> selectByExampleWithBLOBs(StudentExample example);

	List<Student> selectByExample(StudentExample example);

	Student selectByPrimaryKey(String id);

	int updateByExampleSelective(@Param("record") Student record, @Param("example") StudentExample example);

	int updateByExampleWithBLOBs(@Param("record") Student record, @Param("example") StudentExample example);

	int updateByExample(@Param("record") Student record, @Param("example") StudentExample example);

	int updateByPrimaryKeySelective(Student record);

	int updateByPrimaryKeyWithBLOBs(Student record);

	int updateByPrimaryKey(Student record);

	int updateStudentReader(int reader);
}